import { VueConstructor } from "vue";
import HasPermission from "@/vue-config/plugins/permission/HasPermission";

const install = function(Vue: VueConstructor) {
  Vue.directive("yss-permission", HasPermission);
};

export default install;
